package com.huage.courseplatform.application.model.dto;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.huage.courseplatform.application.model.entity.Course;
import com.huage.courseplatform.framework.model.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value="课时响应参数",description="课时响应参数")
public class PeriodDTO  implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "课时id")
    private String id;

    @ApiModelProperty(value = "商户ID")
    private String businessId;

    @ApiModelProperty(value = "课时类型")
    private String type;

    @ApiModelProperty(value = "课时名称")
    private String name;

    @ApiModelProperty(value = "授课教师id")
    private String teacherId;

    @ApiModelProperty(value = "课时内容")
    private String content;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="Asia/Shanghai")
    @ApiModelProperty(value = "开始时间")
    private String startTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="Asia/Shanghai")
    @ApiModelProperty(value = "结束时间")
    private String endTime;

    @ApiModelProperty(value = "课程具体地址")
    private String address;

    @ApiModelProperty(value = "经度-180~180")
    private Double longitude;

    @ApiModelProperty(value = "纬度-90~90")
    private Double latitude;

}
